// 项目记录

.right-box {
  width: 100%;
  height: 100%;
  background-color: #fff;
  border-radius: 8px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 20px 20px;
  box-sizing: border-box;
  position: relative;

  ::v-deep .el-timeline-item__node--normal {
    top: 5px;
  }

  .timeline {
    margin-top: 20px;
  }

  .btn-box {
    width: 100%;
    margin-bottom: 20px;
  }

  .tab-box {
    width: 100%;
    height: 60px;
    padding-top: 10px;
    margin-bottom: 20px;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 9;
    background-color: #fff;

    ::v-deep .el-tabs__nav-wrap::after {
      background-color: rgba(0, 0, 0, 0);
      height: 0;
    }

    ::v-deep .el-tabs__item {
      color: #828a9d;

      &:hover {
        color: #409eff !important;
      }
    }

    ::v-deep .is-active {
      color: #409eff !important;
    }
  }

  ::v-deep .el-timeline {
    padding: 0;
  }

  ::v-deep .el-timeline-item__node {
    background-color: #3b75ff;
  }

  ::v-deep .el-timeline-item__tail {
    border-left: 1px dashed #e4e7ed;
  }

  .setp-box {
    width: 100%;

    .setp-top {
      width: 100%;

      .time {
        font-weight: 400;
        font-size: 13px;
        color: #949494;
        margin: 0;
      }

      .user-box {
        height: 30px;
        background: #f9f7fa;
        border-radius: 15px;
        padding: 0 15px;
        line-height: 30px;
        font-weight: 400;
        font-size: 13px;
        color: #949494;

        .avater {
          width: 20px;
          height: 20px;
          border-radius: 50%;
          margin-right: 10px;
        }
      }
    }

    .setp-content {
      width: 100%;
      background: #f5f7fa;
      border-radius: 4px;
      margin-top: 10px;
      padding: 10px;
      box-sizing: border-box;

      .content-table {
        width: 100%;
        margin-top: 10px;
        display: flex;
        flex-wrap: wrap;

        .table-item {
          width: 100%;
          display: flex;
          flex-wrap: wrap;
          margin-bottom: 10px;

          .table-item-title {
            font-weight: 400;
            font-size: 12px;
            color: #828a9d;
            margin-right: 10px;
            line-height: 16px;
            white-space: nowrap;
          }
          .width100{
            width: 100px;
          }

          .table-item-content {
            font-weight: 400;
            font-size: 12px;
            color: #1b2431;
            // max-width: 300px;
            line-height: 16px;
            word-break: break-all;
          }

          .file-name {
            font-weight: 400;
            font-size: 12px;
            color: #3b75ff;
            text-decoration: underline;
            max-width: 300px;
            margin-right: 10px;
            // white-space: nowrap;
            // /*强制内容在一行显示*/
            // overflow: hidden;
            // /*超出部分溢出*/
            // text-overflow: ellipsis;
            /*溢出的部分使用省略号*/
            cursor: default;
            margin-bottom: 10px;

            &:hover {
              opacity: 0.8;
            }
          }
        }
      }

      .title {
        font-weight: 500;
        font-size: 12px;
        color: #000000;
        // margin-bottom: 10px;
      }

      .img-list-box {
        width: 100%;
        .file-name {
          font-weight: 400;
          font-size: 12px;
          color: #3b75ff;
          text-decoration: underline;
          width: 100%;
          // white-space: nowrap;
          // /*强制内容在一行显示*/
          // overflow: hidden;
          // /*超出部分溢出*/
          // text-overflow: ellipsis;
          // /*溢出的部分使用省略号*/
          cursor: default;
          margin-bottom: 10px;

          &:hover {
            opacity: 0.8;
          }
        }

        .img {
          width: 50px;
          height: 50px;
          border-radius: 5px;
          margin: 0 10px 10px 0;
          object-fit: cover;
          overflow: hidden;
          position: relative;

          video {
            width: 100%;
            height: 100%;
            object-fit: cover;
          }

          .play-icon {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            z-index: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background-color: rgba(0, 0, 0, 0.5);

            .el-icon-caret-right {
              font-size: 22px;
              color: #fff;
            }
          }

          // &:nth-child(5) {
          //   margin-right: 0;
          // }
        }
      }
    }
  }
}
